package com.jdym.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 企业表
 * </p>
 *
 * @author ${author}
 * @since 2021-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Firm对象", description="企业表")
public class Firm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "企业id")
      @TableId(value = "firm_id", type = IdType.AUTO)
    private Integer firmId;

    @ApiModelProperty(value = "企业名")
    private String firmName;

    @ApiModelProperty(value = "联系电话")
    private String firmTel;

    @ApiModelProperty(value = "企业注册资产")
    private String firmAmount;

    @ApiModelProperty(value = "企业详细地址")
    private String firmAddress;

    private BigDecimal historyLoan;

    @ApiModelProperty(value = "企业法人姓名")
    private String legalperson;

    @ApiModelProperty(value = "身份证号")
    private String  identityCard;

    @ApiModelProperty(value = "企业邮箱")
    private String firmEmail;

    @ApiModelProperty(value = "企业密码")
    private String firmPassword;

    @ApiModelProperty(value = "省id")
    private Integer provinceId;

    @ApiModelProperty(value = "市id")
    private Integer cityId;

    @ApiModelProperty(value = "区id")
    private Integer areaId;

    @ApiModelProperty(value = "街道id")
    private Integer streeId;


}
